<?php
error_reporting(E_ALL);

define('SIMPLE_TEST', '../../tools/simpletest/');
define('LIB', '../lib/');
define('TEST_DATA', 'data/');

require_once SIMPLE_TEST . 'unit_tester.php';
require_once SIMPLE_TEST . 'reporter.php';
require_once LIB         . 'IOC.inc.php';
require_once               'mocks.inc.php';

function execute_all_tests() {
  $test =& new TestSuite('All Pico IOC Tests');
  $test->addTestFile('test-resolver.inc.php');
  $test->addTestFile('test-factory.inc.php');
  $test->addTestFile('test-ioc.inc.php');
  $test->run(new HtmlReporter());
}

execute_all_tests();

?>
